﻿#if WINDOWS
using log4net;
using log4net.Config;
using WindowsGame.Common.Library.Interfaces;

namespace WindowsGame.Common.Logger.Implementation
{
	public class RealLogger : ILogger
	{
		private static readonly ILog LOG = LogManager.GetLogger(typeof(RealLogger));

		public void Initialize()
		{
			XmlConfigurator.Configure();
		}

		public void Debug(string message)
		{
			LOG.Debug(message);
		}
		public void Error(string message)
		{
			LOG.Error(message);
		}
		public void Fatal(string message)
		{
			LOG.Fatal(message);
		}
		public void Info(string message)
		{
			LOG.Info(message);
		}
		public void Warn(string message)
		{
			LOG.Warn(message);
		}

	}
}
#endif